import request from '@/utils/request'
// 获取基础属性列表
export const GetAttrInfoListUrl = ({ category1Id, category2Id, category3Id }) =>
  request({
    url: `/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`,
    method: 'get'
  })
// 增加基础属性
export const GetAddAttrInfoListUrl = (params) =>
  request({ url: '/admin/product/saveAttrInfo', method: 'post', data: params })
// 删除基础属性
export const GetDeleteInfo = (attrId) =>
  request({ url: `/admin/product/deleteAttr/${attrId}`, method: 'delete' })
